micro_utils.dokka
0.14.1
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.repos
/
[jvm]SimpleMapperRepo
Simple
Mapper
Repo
jvm
class
SimpleMapperRepo
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)
:
MapperRepo
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
Constructors
Functions
Properties
Constructors
Simple
Mapper
Repo
Link copied to clipboard
jvm
fun
<
FromKey
,
FromValue
,
ToKey
,
ToValue
>
SimpleMapperRepo
(
keyFromToTo
:
suspend
FromKey
.
(
)
->
ToKey
,
valueFromToTo
:
suspend
FromValue
.
(
)
->
ToValue
,
keyToToFrom
:
suspend
ToKey
.
(
)
->
FromKey
,
valueToToFrom
:
suspend
ToValue
.
(
)
->
FromValue
)
Functions
to
Inner
Key
Link copied to clipboard
jvm
open
suspend override
fun
ToKey
.
toInnerKey
(
)
:
FromKey
to
Inner
Value
Link copied to clipboard
jvm
open
suspend override
fun
ToValue
.
toInnerValue
(
)
:
FromValue
to
Out
Key
Link copied to clipboard
jvm
open
suspend override
fun
FromKey
.
toOutKey
(
)
:
ToKey
to
Out
Value
Link copied to clipboard
jvm
open
suspend override
fun
FromValue
.
toOutValue
(
)
:
ToValue
Properties
key
Mapper
Link copied to clipboard
jvm
open
val
keyMapper
:
SimpleSuspendableMapper
<
FromKey
,
ToKey
>
value
Mapper
Link copied to clipboard
jvm
open
val
valueMapper
:
SimpleSuspendableMapper
<
FromValue
,
ToValue
>